<html>
<head>
<title>Mr.Typ</title>
<link type="text/css" rel="stylesheet" href="stuff/result.css" />
<script type="text/javascript" src="stuff/search.js"></script>
<script type="text/javascript" src="stuff/query.js"></script>
<%@ page language= "java" %>
<jsp:useBean id="jb" scope="application" class="mrtyp.SearchBean" />
<%
String query = request.getParameter("query");
String time = request.getParameter("time");
String lon = request.getParameter("lon");
String lat = request.getParameter("lat");
String radius = request.getParameter("radius");
%>
</head>

<body onload="setup()">

<table>
<tr>
<td width="100px">
<img src="stuff/mrtyp.png" width="100px"/>
</td>

<td width="700%">
<div id="localized" class="hide"><img width="2%" src="stuff/broswer-location.png"/>You have been localized!</div>
<form action="search.jsp" method="get">
<input type="text" id="searchbox" name="query">
<input type="hidden" id="date" name="time" />
<input type="hidden" id="lon" name="lon"/>
<input type="hidden" id="lat" name="lat"/>
<input type="hidden" name="radius" value="1000" />
<input type ="submit" id="button" value="search">
</form>
</td>

</tr>
</table>

<div id="right-column">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1876482433895524";
/* mrtyp adv */
google_ad_slot = "0398316941";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>


<%= jb.search(query,time,lon,lat,radius) %>





</body>

</html>
